<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title>确认订单</title>  
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Wx/css/base.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Wx/css/detail.css" />
</head>
<body> 
<div class="detail">
	<div class="state">

        <if condition=" $sale_info['state'] eq 3 ">
        <!--待付款-->
    	<div class="inner">
        	<h2 style="padding-top:0;">等待买家付款</h2>
			<span><img src="__PUBLIC__/Wx/img/icon04.png"/></span>
        </div>
        </if>

        <if condition=" $sale_info['state'] eq 2">
        <!--待发货-->
    	<div class="inner">
        	<h2 style="padding-top:0;">买家已付款</h2>
			<span><img src="__PUBLIC__/Wx/img/icon19.png"/></span>
        </div>
        </if>

        <if condition=" $sale_info['state'] eq 4">
        <!--待收货-->
    	<div class="inner">
        	<h2>已发货</h2>
			<span><img src="__PUBLIC__/Wx/img/icon06.png"/></span>
        </div>
        </if>

        <if condition=" $sale_info['state'] eq 5">
        <!--已收货-->
    	<div class="inner">
        	<h2>已收货</h2>
			<span><img src="__PUBLIC__/Wx/img/icon07.png"/></span>
        </div>
        </if>

        <if condition=" $sale_info['state'] eq 6">
        <!--已评价-->
    	<div class="inner">
        	<h2>买家已评价</h2>
			<span><img src="__PUBLIC__/Wx/img/icon33.png"/></span>
        </div>
        </if>
    </div>
	<div class="address">
        <div class="add" style="background:none;">
        	<a href="#">
                <h3><span>{$sale_info.name}</span><span>{$sale_info.mobile}</span></h3>
                <p>收货地址：{$sale_info.address}</p>
            </a>
        </div>
    </div>
    <div class="prolist">
        <if condition="$sale_info['sg_state'] neq 1">
            <div class="pro" onClick="window.location='__MODULE__/SoldOut/index'">
        <else />
            <div class="pro" onClick="window.location='__MODULE__/Prodetail/index/id/{$sale_info.g_id}'">
        </if>
            <div class="pic"><img src="<?=isMorePic($sale_info['h_imgs'])?>"/></div>
            <div class="name">
                <h2>{$sale_info.title} {$sale_info.u_num}<?=getunit($sale_info['unit'])?></h2>
                <!--<p><b><img src="__PUBLIC__/Wx/images/pic02.jpg"/></b><i>江训才</i><em>恩施荷花村</em></p>-->
                <h3><del>原价：￥{$sale_info.sg_price}</del><em>￥{$sale_info.price}</em><i></i><b>×{$sale_info.num}</b></h3>
            </div>
        </div>
    </div>

    <if condition=" $sale_info['state'] eq 6">
    <div class="comment">
    	<ul>
        	<li>
            	<div class="top">
                	<div class="pic"><img src="__PUBLIC__/Wx/images/pic08.jpg"/></div>
                	<h3>万倩</h3><b>安阳</b><time>2018-05-06</time>
                </div>
                <div class="wz">
                	<p>很不错的农产品，很喜欢以后还会再来的，也给朋友们推荐了，很不错希望还能吃到更多地地道道的农产品。</p>
                    <p><img src="__PUBLIC__/Wx/images/pic09.jpg"/><img src="__PUBLIC__/Wx/images/pic10.jpg"/><img src="__PUBLIC__/Wx/images/pic11.jpg"/></p>
                </div>
            </li>
        </ul>
    </div>
    </if>

    <div class="ordermess">
    	<p>订单编号：{$sale_info.order_sn}</p>
    	<p>创建时间：{$sale_info.addtime|date="Y-m-d H:i:s",###}</p>
    </div>
</div>
</body>
</html>